
import request from '@/utils/request';

// 查询列表
export async function queryDicNameList(params) {
  return request('/s/datadict/queryPageList', {
    method: 'POST',
    data: params,
  });
}
// 新增
export async function addDicName(params) {
  return request('/s/datadict/add', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function removeDicName(params) {
  return request('/s/datadict/delete', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateDicName(params) {
  return request('/s/datadict/update', {
    method: 'POST',
    data: params,
  });
}

// 字典类型
export async function querySelectList(params) {
  return request('/s/datadictype/querySelectList', {
    method: 'POST',
    data: params,
  });
}
